package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@TableName("EMDU_BASE_GROUP_INFO")
@ApiModel(value = "群组信息表")
@EqualsAndHashCode(callSuper = true)
public class BaseGroupInfo extends BaseEntity {

    @ApiModelProperty(value = "群组的GUID；形式为UUID")
    @TableField(value = "GROUP_GUID")
    @JsonProperty(value = "groupGuid")
    private String groupGuid;

    @ApiModelProperty(value = "群组中文名称")
    @TableField(value = "GROUP_NAME")
    @JsonProperty(value = "groupName")
    private String groupName;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "H4A的部门全路径")
    @TableField(value = "ALL_PATH_NAME")
    @JsonProperty(value = "allPathName")
    private String allPathName;

    @ApiModelProperty(value = "排序，用于调整数据顺序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private String sort;


}
